/* File gfx_Opengl.h */
#ifndef GFX_OPENGL_H
#define GFX_OPENGL_H

#include "gfx_skitchin.h"
#include "gl\glut.h" 		// Header File For The GLu32 Library
#include "gl\freeglut.h"
#include "input.h"

namespace Skitchin_OpenGL
{
      class CDrawingInterface: public CAbstractDrawingInterface
      {
            private:
				//
            public:
				//CDrawingInterface( ){ };
				//~CDrawingInterface( ){ };                   
				int blit( CAbstractDrawable * drawable );
				void destroywindow( );
				void fillrect( SRGB color, SRect rectarea );
				void fillscreen( SRGB color );
				void initwindow( unsigned int w, unsigned int h, unsigned int bpp, const char * title );
				void swapbuffers( );
				int Tick( );
      };
      
      class CDrawable: public CAbstractDrawable
      {
            private:
				//
            public:
				int TextureFromFile( char * file, SRGB alphacolor );
				int TextureFromFile( char * file ) { return TextureFromFile( file, SRGB() ); }
      };
}

#endif /* GFX_OPENGL_H */